-- GENERATED SPELL FOR [Hillsbrad Foreman] --


function spell0_2503(pUnit, Event) --@Battle Command,Self--
pUnit:FullCastSpellOnTarget(5115,pUnit)
pUnit:RegisterEvent('Sorts_2503', 6336, 1)
end

function Sorts_2503(pUnit, Event)
local choix_sorts_2503 = math.random(0, 0)
if choix_sorts_2503 == 0 then
pUnit:RegisterEvent('spell0_2503', 1, 1)
end
end

function mob2503_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2503', math.random(1500, 3000), 1)
end

function mob2503_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2503_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2503_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2503, 1, 'mob2503_Action')
RegisterUnitEvent(2503, 2, 'mob2503_Leave')
RegisterUnitEvent(2503, 3, 'mob2503_Kill')
RegisterUnitEvent(2503, 4, 'mob2503_Die')
